package hsintiao.com.xintiaoAPP.service;


import hsintiao.com.xintiaoAPP.entity.User;
import hsintiao.com.xintiaoAPP.entity.vo.UserBodyVO;
import hsintiao.com.xintiaoAPP.util.AjaxResult;

public interface UserService {

    User getUserByID(Long id);//根据id获取用户
    User findByUsername(String username);//根据username获取用户

    AjaxResult saveBodyInformation(UserBodyVO vo);

    AjaxResult getUserByUpdate(Long id);//获取更新后的用户数据

    AjaxResult checkDiagnostic(Long userID);

    AjaxResult checkReportNum(Long userID);

    AjaxResult findByPhone(String phone);
}
